package com.xyh.bean;

/**
 * @Author: XiongYuhao
 * @Date: 2020/10/23 0023-上午 9:56
 * @Description: MyForestManagerSystem
 * @version：1.0
 */
public class User {
    private int userId;
    private String userName;
    private String password;
    private String realName;
    private String level;

    public User() {
    }

    public User(int userId, String userName, String password, String realName, String level) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.realName = realName;
        this.level = level;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", level='" + level + '\'' +
                '}';
    }
}
